<!doctype html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
    <title>Swiper</title>

    <!-- 版本：0.0.2 -->
    <link href="https://cdn.bootcss.com/minireset.css/0.0.2/minireset.min.css" rel="stylesheet">

    <!-- 最新版本的 Bootstrap 核心 CSS 文件 -->
    <link rel="stylesheet" href="https://cdn.bootcss.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
    <!-- 可选的 Bootstrap 主题文件（一般不用引入） -->
    <link rel="stylesheet" href="https://cdn.bootcss.com/bootstrap/3.3.7/css/bootstrap-theme.min.css" integrity="sha384-rHyoN1iRsVXV4nD0JutlnGaslCJuC7uwjduW9SVrLvRYooPp2bWYgmgJQIXwl/Sp" crossorigin="anonymous">


    <link rel="stylesheet" type="text/css" href="css/common.css?t=2">
    <link rel="stylesheet" type="text/css" href="css/pc/default.css?t=3">
    <link rel="stylesheet" type="text/css" href="css/wap/default.css?t=3">
    <link rel="stylesheet" type="text/css" href="css/theme.css">
    <link rel="stylesheet" type="text/css" href="plugin/swiper/css/swiper.css">

    <style type="text/css">
    body {
        font-family: Helvetica Neue, Helvetica, Arial, sans-serif;
        font-size: 14px;
        margin: 0;
        padding: 0;
    }
    .swiper-container {
        width: 100%;
        height: 50px;
        margin: 5px auto;

    }
    .swiper-slide {
        text-align: center;
        font-size: 18px;
        background: #fff;
        border-bottom:3px solid #eee;
        
        /* Center slide text vertically */
        display: -webkit-box;
        display: -ms-flexbox;
        display: -webkit-flex;
        display: flex;
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        -webkit-justify-content: center;
        justify-content: center;
        -webkit-box-align: center;
        -ms-flex-align: center;
        -webkit-align-items: center;
        align-items: center;
    }
    .swiper-slide-active{
        border-color:#ffcb05;
    
    }
    </style>

</head>
<body class="detail">
<div class="backheader around">
  <div class="backbtn flex glyphicon glyphicon-menu-left"></div>
  <div class="backtitle tc flex ">Swiper</div>
  <div class="backmore flex "></div>
</div>
<header class="header">
    <div class="logo ">
        <div class="logoimg"></div>
        <div class="smallmenu">
            <span></span>
            <span></span>
            <span></span>
        </div>
        <div class="cover"></div>
    </div>
    <ul class="menu _bg fr">
        <li class="item"><a class="_active" href="">首页</a></li>
        <li class="item"><a href="">课程</a></li>
        <li class="item"><a href="">实训室</a></li>
        <li class="item"><a href="">我的</a></li>
    </ul>
</header>

<div class="wrap">
    <div class="row">

      <div class="col-sm-12">
        <!-- Swiper -->
        <div class="swiper-container">
            <div class="swiper-wrapper">
                <div class="swiper-slide">菜单 1</div>
                <div class="swiper-slide">菜单 2</div>
                <div class="swiper-slide">菜单 3</div>
                <div class="swiper-slide">菜单 4</div>
                <div class="swiper-slide">菜单 5</div>
                <div class="swiper-slide">菜单 6</div>
                <div class="swiper-slide">菜单 7</div>
                <div class="swiper-slide">菜单 8</div>
                <div class="swiper-slide">菜单 9</div>
                <div class="swiper-slide">菜单 10</div>
            </div>
            <!-- Add Pagination -->
            <div class="swiper-pagination"></div>
        </div>
      </div>
    </div>

</div>

</body>
<!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
<script src="https://cdn.bootcss.com/jquery/1.12.4/jquery.min.js"></script>
<script type="text/javascript" src="plugin/swiper/js/swiper.js"></script>
<!-- 最新的 Bootstrap 核心 JavaScript 文件 -->
<script src="https://cdn.bootcss.com/bootstrap/3.3.7/js/bootstrap.min.js" integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa" crossorigin="anonymous"></script>
<!-- Initialize Swiper -->
<script>
var swiper = new Swiper('.swiper-container', {
    // pagination: '.swiper-pagination',
    slidesPerView: 3,
    // paginationClickable: true,
    spaceBetween: 5,
    freeMode: true
});
</script>
</html>